﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Fis.Service.Map
{
    public partial class SystemMapControl : DevExpress.XtraEditors.XtraUserControl
    {
        public SystemMapControl()
        {
            InitializeComponent();
        }

        private void lnkPerson_Click(object sender, EventArgs e)
        {
            Fis.Win.UIManager.ShowEdit<Fis.Service.Forms.PersonEditForm>("PersonViewProvider");

        }

        private void lnkEnter_Click(object sender, EventArgs e)
        {
            Fis.Win.UIManager.ShowEdit<Fis.Service.Forms.GroupEditForm>("PersonViewProvider");
        }

        private void lnkManger_Click(object sender, EventArgs e)
        {
            Fis.Win.UIManager.ShowList<Fis.Service.Forms.CustomListForm>("CustomListProvider");
        }

        private void lnkBackup_Click(object sender, EventArgs e)
        {
            Fis.Win.UIManager.ShowList<Fis.Service.Forms.BackupForm>("BackupViewProvider");
        }

        private void lnkVersion_Click(object sender, EventArgs e)
        {
            Fis.Win.UIManager.ShowList<Fis.Service.Forms.VersionForm>("VersionViewProvider");
        }
    }
}
